<?php

class ListController extends AppController {
	public $helpers = array('Html', 'Form');
	
	public function index() {
		$options['joins'] = array(array('table'=>'chung', 'alias'=>'Chung', 'type'=>'INNER', 'conditions'=>'Chung.id=Post.id'));
		$this->set('posts', $this->Lists->find('all', $options));
	}
}
